<?php
/**
 * Created by : PhpStorm
 * User: DuFei
 * Date: 2020/7/30
 * Time: 15:46
 */

namespace app\models\request;

use yii\base\Model;

class ReqTypeList extends Model
{
    private $pageNo=1;
    private $pageSize;

    /**
     * @return int
     */
    public function getPageNo()
    {
        return $this->pageNo;
    }

    /**
     * @param int $pageNo
     */
    public function setPageNo($pageNo)
    {
        $this->pageNo = $pageNo;
    }

    /**
     * @return mixed
     */
    public function getPageSize()
    {
        return $this->pageSize;
    }

    /**
     * @param mixed $pageSize
     */
    public function setPageSize($pageSize)
    {
        $this->pageSize = $pageSize;
    }



    public function rules()
    {
        return [
            [[ 'pageSize'], 'required'],
            [["pageNo"],"safe"]
        ];
    }


}
